package com.woniuxy.commons.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author author
 * @create 2021-11-10 10:40
 */



@Data
@NoArgsConstructor
@AllArgsConstructor
public class Staff {
//员工id
private Integer sid;
//员工名字
private String username;
//员工密码
private String password;
//角色
private Integer rid;
//角色实体
private Role role;
//员工所在区域
private String area;
//员工的电话
private String telephone;
//入职日期
private Date hiredate;
//是否在职的状态
private boolean status;
//部门id
private Integer did;
//部门的实体
private Dept dept;

//查询开始时间
    private Date starttime;
    //结束时间
    private Date endtime;





}
